package org.accp.daner.mapper;

import entity.address;
import entity.reported_info;
import org.accp.daner.dto.Dto;

import java.util.List;

public interface ReportedInfoMapper {
    //多条件查询
    public List<reported_info> queryAllByLimit(Dto dto);
    //总条数
    public Integer count(Dto dto);
    //报表
    public Integer ByidCount(String handle);
    //添加
    public void insert(reported_info re);
    //修改
    public void update(reported_info re);
    public void deleteById(Integer id);
    //查询地址
    public List<address> queryAllAddress(String fid);
    //用id查询
    public  reported_info queryByid(String id);
    //用id查询地址
    public address queryByidAddress(String id);
}
